package com.nbsystem.entity;

import java.util.Date;
import java.io.Serializable;
import java.util.List;

/**
 * (SysRolePer)实体类
 *
 * @author makejava
 * @since 2021-06-07 15:27:06
 */
public class SysRolePer implements Serializable {
    private static final long serialVersionUID = -62069425204686050L;
    /**
     * 角色权限关系id
     */
    private Integer id;
    /**
     * 角色id
     */
    private Integer roleId;
    /**
     * 权限id
     */
    private Integer perId;
    /**
     * 关系创建时间
     */
    private Date createTime;
    /**
     * 关系更新时间
     */
    private Date updateTime;

    private List<SysPer> pers;

    public List<SysPer> getPers() {
        return pers;
    }

    public void setPers(List<SysPer> pers) {
        this.pers = pers;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    public Integer getPerId() {
        return perId;
    }

    public void setPerId(Integer perId) {
        this.perId = perId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

}
